//
//  ResponseObject.h
//  RequestTest
//
//  Created by xntech on 13-8-19.
//  Copyright (c) 2013年 xntech. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef NS_ENUM(NSInteger, ResponseErrorCode)
{
    ResponseErrorCodeJSONSerialize = 9998,
    ResponseErrorCodeUnKnow = 9999
};


@interface ResponseObject : NSObject
{
    id _responseObj;
}
@property (nonatomic,readonly)NSData  *data;
@property (nonatomic,readonly)NSString *errorMessage;
- (id)initWithData:(NSData *)d;
@end
